package com.xli.dto.search.type;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface QueryType {

    Type value();

    String field() default "";

    enum Type {EQ, LIKE, LEFT_LIKE, RIGHT_LIKE}
}